class ProposalComment < ActiveRecord::Base
  belongs_to :users, :class_name => 'User', :foreign_key => :user_id
  belongs_to :proposal_comments, :class_name => 'ProposalComment', :foreign_key => :parent_proposal_comment_id
  belongs_to :proposals, :class_name => 'Proposal', :foreign_key => :proposal_id
  has_many :proposal_comment_rankings, :class_name => 'ProposalCommentRanking'
end
